package org.sharelife.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author for2cold
 * @Date 2012-3-22
 */
public class DateUtils {

	public static String formatBirthDay(String year, String month, String day) {
		return (year + "-" + month + "-" + day);
	}
	
	public static String formatDate(Date date) {
		return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date);
	}
}
